Retrieves the maximum width of the "today" string in a month calendar control.
#Include <GuiMonthCal.au3>
_GUICtrlMonthCalGetMaxTodayWidth($h_monthcal)
Parameters
$h_monthcal | control id/control hWnd |
Return Value
Returns the width of the "today" string, in pixels.
Remarks
None.
Related
None.
Example
#include <GUIConstants.au3>
#include <date.au3>
#include <GuiMonthCal.au3>
opt('MustDeclareVars', 1)
Dim $Date
GUICreate( "Get Max Today Width", 210, 190)
$Date = GUICtrlCreateMonthCal (_NowCalcDate(), 10, 10)
GUISetState()
MsgBox(0, 'Maximum width of the "today" string in a month calendar control.', _GUICtrlMonthCalGetMaxTodayWidth ($Date), 10)